/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.maxato.domain;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Danny
 */
@XmlRootElement(name = "maxi-xml")
public class Calendar {

    @XmlElement
    int season;
    @XmlElement
    int currentWeek;
    @XmlElement(name = "calendar")
    List<Calendar_Week> weeks = new ArrayList<Calendar_Week>();

    public Calendar() {
    }

    public Calendar(int season, int currentWeek, List<Calendar_Week> weeks) {
        this.season = season;
        this.currentWeek = currentWeek;
        this.weeks = weeks;
    }

    public int getCurrentWeekCalendar() {
        return currentWeek;
    }

    public void setCurrentWeekCalendar(int currentWeek) {
        this.currentWeek = currentWeek;
    }

    public int getSeasonCalendar() {
        return season;
    }

    public void setSeasonCalendar(int season) {
        this.season = season;
    }

    public List<Calendar_Week> getWeeksCalendar() {
        return weeks;
    }

    public void setWeeksCalendar(List<Calendar_Week> weeks) {
        this.weeks = weeks;
    }
}
